package no.sogl.sportsadmin;

public class Group {
    private String name;
    private int fromNo;
    private int toNo;
    private int freeNos;
    
    public int getFreeNos(){
        return freeNos;
    }
    
    public Group setFreeNos(int free){
        this.freeNos = free;
        return this;
    }

    public String getName() {
        return name;
    }

    public Group setName(String name) {
        this.name = name;
        return this;
    }

    public int getFromNo() {
        return fromNo;
    }

    public Group setFromNo(int fromNo) {
        this.fromNo = fromNo;
        return this;
    }

    public int getToNo() {
        return toNo;
    }

    public Group setToNo(int toNo) {
        this.toNo = toNo;
        return this;
    }

    @Override
    public String toString() {
        return "Group [name=" + name + ", fromNo=" + fromNo + ", toNo=" + toNo + "]";
    }
}
